
import java.math.BigInteger;
import java.util.Scanner;

public class C_1_13_7 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String num1 = sc.nextLine();
        String num2 = sc.nextLine();
        BigInteger n1 = new BigInteger(num1);
        BigInteger n2 = new BigInteger(num2);
        System.out.print(n1.multiply(n2).toString());
    }
}